
<%@page import="album.Album"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style>
.tile2{
	/* background-color:green; */
	position:absolute;
	height:510px;
	float:left;
	top:182px;
	left:1043px;
	
}
</style>
<script>
	window.onload = function(){
		var btn = document.getElementById('btnList');
		btn.onclick = function(){
			location.href='Main.jsp?inc_content=Album1.jsp?inc_right=../album/Album_list.jsp';
		}
	}
</script>
</head>
<body>
<div class="tile2">
<jsp:useBean id="albumVo" class="album.AlbumVo"/>
<jsp:setProperty property="*" name="albumVo"/>
<h1>삭제 결과!</h1>
<%
albumVo.setRequest(request);
Album album = new Album();
album.setVo(albumVo);

if(album.delete()){
	out.print("정상적으로 삭제되었습니다.");
}else{
	out.print("에러발생!!");
}
%>
<input type="button" value="목록" id="btnList">
</div>
</body>
</html>